<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <link
      rel="stylesheet"
      type="text/css"
      href="{{pluResPath}}/html/ningmenghome/ningmenghome.css"
    />
  </head>

  <body>
    <div>
      <div class="user_bottom1">
        <div class="use_data">
          <div
            class="user_font use_data_head"
            style="text-align: center; padding-left: 0px"
          >
            <div>柠檬堂</div>
            <div style="font-size: 0.8em">购买指令：#购买+物品名</div>
            <div style="font-size: 0.8em">筛选指令：#柠檬堂+物品类型</div>
          </div>
          <div class="use_data_body">
            {{each commodities_list item}}
            <div class="user_font">
              <div>
                <div style="display: inline-block">
                  【{{item.type}}】{{item.name}}
                </div>
                <div class="price">{{item.出售价*1.2}}money</div>
              </div>
              {{if item.class=="装备"}}
              <div class="info" style="width: 130px">攻：{{item.atk}}</div>
              <div class="info" style="width: 130px">防：{{item.def}}</div>
              <div class="info" style="width: 130px">血：{{item.HP}}</div>
              <div class="info" style="width: 130px">暴：{{item.bao*100}}%</div>
              {{else if item.class=="丹药"}}
              <div class="info">
                效果：{{item.HP/1000}}%{{item.exp}}{{item.xueqi}}
              </div>
              {{else if item.class=="skill"}}
              <div class="info">
                修炼加成：{{(item.修炼加成*100).toFixed(0)}}%
              </div>

              {{else if item.class=="道具"}}
              <div class="info">描述：{{item.desc}}</div>
              {{else if item.class=="草药"}}
              <div class="info">描述：{{item.desc}}</div>
              {{/if}}
            </div>
            {{/each}}
          </div>
        </div>
      </div>
    </div>
  </body>

  <style>
    @font-face {
      font-family: 'tttgbnumber';
      src: url('{{pluResPath}}/font/tttgbnumber.ttf');
      font-weight: normal;
      font-style: normal;
    }

    body {
      transform: scale(1);
      width: 100%;
      text-align: center;
      background-image: url('{{pluResPath}}/img/ningmenghome/ningmenghome.jpg');
      background-size: 100% auto;
    }

    .user_top_img_bottom {
      margin: auto;
      background-image: url('{{pluResPath}}/img/state/user_state.png');
      background-size: 100% auto;
      width: 280px;
      height: 280px;
    }
  </style>
</html>
